<?php
namespace app\common\validate\tysj;

class StoreSpreadIncome extends Base {
    /**
     * 验证规则
     */
    protected $rule = [
        'lock'         => 'require',
        'id'           => 'require',
        'uid'          => 'require'
    ];


    /**
     * 提示消息
     */
    protected $message = [
        'lock.require'              => '验证规则场景不存在',
        'id.require'                => '佣金ID不能为空',
        'uid.require'               => '用户ID不能为空'
    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'private'  =>  ['uid']
    ];
}
